/* ================= DIGITIZING BANNER ================= */


.digitizing-banner .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(127,90,240,0.35), rgba(0,0,0,0.85));
}

.digitizing-banner h1 {
  font-size: 42px;
  font-weight: 700;
  position: relative;
}

.digitizing-banner p {
  font-size: 16px;
  color: #d0d0ff;
  position: relative;
}


/* Digitizing Intro Text */
.lead-text {
  font-size: 18px;
  line-height: 1.8;
  color: #e7e2e2;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-word;
}


/* Tablet */
@media (max-width: 992px) {
  .lead-text {
    font-size: 17px;
    line-height: 1.7;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .lead-text {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .lead-text {
    font-size: 15px;
  }
}

/* ================= DIGITIZING BANNER ================= */

.digitizing-banner {
  position: relative;
  height: 350px;
  margin-top: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Banner Image */
.digitizing-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔥 full fit, no stretch */
}

/* Overlay */
.digitizing-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,15,36,0.45),
    rgba(0,0,0,0.55)
  );
}

/* Text */
.digitizing-banner h1 {
  font-size: 42px;
  font-weight: 700;
}

.digitizing-banner p {
  font-size: 16px;
  color: #d0d0ff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .digitizing-banner {
    height: 220px;
    margin-top: 60px;
  }

  .digitizing-banner h1 {
    font-size: 28px;
  }

  .digitizing-banner p {
    font-size: 14px;
  }
}

/* ================= MAIN SECTION ================= */

.digitizing-section {
  background: linear-gradient(180deg, #0b0b0f, #0f0f24);
  color: #fff;
  padding: 70px 0;
}



/* ================= FEATURE CARDS ================= */

.feature-card {
  /* background: linear-gradient(135deg, #4d7cff, #2cb6c5, #0f0f24); */
  background: linear-gradient(135deg, rgb(0 0 0 / 90%), rgb(58 104 109 / 85%), rgb(34 34 66));
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #e8f7ff;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* ================= LIST & FORMATS ================= */

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff9f1c;
}

.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  padding: 12px 15px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: 0.3s;
}

.tech-list li:hover {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
}
.format-box {
  background: rgba(255,255,255,0.06);
  padding: 25px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.7;
  transition: all 0.35s ease;
}

/* Hover effect */
.format-box:hover {
  background: linear-gradient(
    135deg,
    rgba(127,90,240,0.12),   /* very light purple */
    rgba(44,182,125,0.12)    /* very light green */
  );
  transform: translateY(-4px) scale(1.015);  /* very soft zoom */
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}

/* Text color smooth change */
.format-box p {
  transition: color 0.3s ease;
}

.format-box:hover p {
  color: #f5f5ff;
}
/* Note text */
.format-box span {
  display: block;
  margin-top: 10px;
 color: #dcdcff;
  transition: color 0.3s ease;
}

.format-box:hover span {
  color: #e6e6ff;
}


/* ================= CTA ================= */

.cta-box {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.cta-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-box p {
  margin-bottom: 20px;
  font-size: 15px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .digitizing-banner h1 {
    font-size: 30px;
  }

  .digitizing-banner {
    min-height: 260px;
    margin-top: 60px;
  }
}

/* ================= CTA BUTTON ================= */

.btn-main {
  background: linear-gradient(135deg, #ffffff, #e9f7f1);
  color: #0f0f24;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Hover */
.btn-main:hover {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.4);
}

/* ================= CTA – MOBILE HEIGHT REDUCE ================= */

@media (max-width: 768px) {
  .cta-box {
    padding: 20px 16px;
  }

  .cta-box h3 {
    font-size: 20px;
  }

  .cta-box p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
/* Digitizing Gallery Image Box */
.digitize-img-box {
  height: 260px;
  overflow: hidden;
  
  width: 100%;
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.digitize-img-box img {
  width: 100%;
height: 100%;
  overflow: hidden;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;

 
}

.digitize-img-box img:hover {
  transform: scale(1.05);
}

/* Responsive height */
/* MOBILE: single image per row */
@media (max-width: 576px) {
  .digitize-gallery-section .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .digitize-img-box {
    margin: 0 auto;
    max-width: 320px; 
     height: auto;   /* optional – neat look */
  }
  .digitize-img-box img {
    height: auto;
    object-fit: contain;       /* FULL image visible */
  }
}

/* View More Button */
.btn-outline-warning {
  padding: 12px 34px;
  font-size: 16px;
  font-weight: 500;
 background: linear-gradient(90deg, #7f5af0, #2cb67d); 
 color: linear-gradient(90deg, #7f5af0, #2cb67d);   
  border: 2px solid #4d7cff;
  border-radius: 10px;
  background-color: transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px; /* bottom gap */
}

/* Hover */
.btn-outline-warning:hover {
  background-color: #f5a623;
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .btn-outline-warning {
    padding: 10px 26px;
    font-size: 15px;
    margin-bottom: 35px;
  }
}
/* ================= DIGITIZING IMAGE ================= */

.digitizing-section img {
  max-width: 100%;
  border-radius: 20px;              /* smooth rounded corners */
  box-shadow: 0 25px 45px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle hover effect (desktop only) */
@media (min-width: 992px) {
  .digitizing-section img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 35px 65px rgba(0,0,0,0.45);
  }
}
@media (max-width: 768px) {
  .digitizing-section img {
    margin-top: 25px;   /* space between content & image */
  }
}
